package com.geo.geoProject.client.tousLesProgrammes.profil;

import com.geo.geoProject.client.UI.docks.Icone;
import com.geo.geoProject.client.application.IPCMessage;
import com.geo.geoProject.client.application.ListeDesApplications;
import com.geo.geoProject.client.application.MessageInterProgramme;
import com.geo.geoProject.client.application.Programme;
import com.geo.geoProject.client.tousLesProgrammes.carte2d.Carte2d;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.Widget;

public class Profil extends Programme {

	@Override
	public void moved(int top, int left) {
		// TODO Auto-generated method stub

	}

	@Override
	public ListeDesApplications getPid() {
		return ListeDesApplications.Profil ;
	}

	@Override
	public String getTitreApplication() {
		return "Profil version Manu" ;
	}

	@Override
	public Widget getInitWidget() {
		return new ProfilPanel() ;
	}

	@Override
	public Icone getIcone() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ConfigurationFenetre getConfigurationApparance() {
		return null;
	}

	@Override
	public void resizeAppWindow(int w, int h) {
		// TODO Auto-generated method stub

	}

	@Override
	public void recoitMessage(MessageInterProgramme m) {
//		Window.alert("message recu") ;
//		MessageInterProgramme m2 = new MessageInterProgramme() ;
//		m2.idRreceiver = ListeDesApplications.Carte2d ;
//		m2.idMsgType = Carte2d.MSG_TYPE_ZOOMPLUS ;
//		IPCMessage.get().transmettre(m2) ;
	}

	@Override
	public void minimise() {
		//Window.alert("minimisé !") ;
	}

	@Override
	public void maximise() {
		// TODO Auto-generated method stub

	}

}
